<template>
  <div id="app">
    <p style="color:red"> {{ name }} </p>
    <p>Let's start your performance now~</p>
    <p>{{getRow()}}</p>
  </div>
</template>

<style scoped>

</style>

<script>
module.exports = {
  name: "demo-code",
  data() {
    return {
      name: 'BIC-Business inspection chart MVP Version'
    };
  },
  methods: {
    getRow() {
      let vm = this
      while (vm.$parent && !vm.$parent.pluginContext) {
        vm = vm.$parent
      }
      return vm.$parent.pluginContext
    }
  }
}
</script>
